package com.service.impl;

import com.bean.Answer;
import com.bean.KillList;
import com.bean.vo.KillListVo;
import com.mapper.AnswerMapper;
import com.mapper.KillListMapper;
import com.service.AnswerService;
import com.service.KillListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KillListServerImpl implements KillListService {


    @Autowired
    private KillListMapper killListMapper;
    @Override
    public List<KillListVo> checkAll() {
        KillList killList=new KillList();
        return killListMapper.select(killList);
    }

    @Override
    public int insert(KillList killList) {
        return killListMapper.insert(killList);
    }




}
